package com.idbk.chargestation.app;

import android.content.Context;

import com.idbk.chargestation.R;

/**
 * 非标版本相关
 * @author lupc, zhx
 *
 */
public class MyVersion {

	/**
	 * 中能易电
	 */
	public final static String VERSION_ZNYD = "dg_znyd";

	/**
	 * 南京业祥
	 */
	public final static String VERSION_NJYX = "nj_njyx";

	/**
	 * 浙江天齐
	 */
	public final static String VERSION_ZJTQ = "zj_zjtq";

	/**
	 * 中山粤盛
	 */
	public final static String VERSION_ZSYS = "zs_zsys";

	private static String version;
	
	public static String getVersion(Context context) {
		if (version == null || "".equals(version)) {
			version = context.getResources().getString(R.string.my_appid);
		}
		return version;
	}

}
